#ifndef GAMEPANEL_H
#define GAMEPANEL_H

#include <QtCore>
#include <QtGui>

#include "gamepanelbutton.h"

class GamePanel : public QGraphicsItem
{
public:
    GamePanel(QGraphicsItem * parent = 0);
    QRectF boundingRect() const;
    void setSize(qreal w, qreal h) { m_size = QPointF(w, h); update();}
private:
    QPointF m_size;
protected:
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
};

#endif // GAMEPANEL_H
